# -- coding: utf-8 --
from celery import Celery

app_celery = Celery('tasks')
app_celery.config_from_object('tasks.config')

# 让celery找到自己的任务
app_celery.autodiscover_tasks(['tasks.sms'])